#ifndef SM_STATE_MACHINE_H
#define SM_STATE_MACHINE_H

#include <iostream>
using namespace std;

#include "SMTC.h"
#include "SM_TABLE.h"

//创建状态机
SMTC_EXPORT int sm_state_machine_create();
//销毁状态机
SMTC_EXPORT int sm_state_machine_destory();
//检查状态机转移
SMTC_EXPORT int sm_state_machine_check_transition(IN SM_EVENT_ENUM event, OUT int *state_check_result);
//执行状态机转移
SMTC_EXPORT int sm_state_machine_perform_transition(IN SM_EVENT_ENUM event);

#endif // SM_STATE_MACHINE_H
